package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.AdUserDto;
import com.heima.model.admin.pojo.AdUser;
import com.heima.model.common.dtos.ResponseResult;

public interface AdUserService extends IService<AdUser> {
  /**
   * 登录功能
   *
   * @param dto
   * @return
   */
  ResponseResult login(AdUserDto dto);

  /**
   * 后端用户注册
   *
   * @param
   * @return
   */
  ResponseResult register(AdUser adUser);
}
